module.exports = {
    devServer:{
        port:8090,
        hot:true,
        proxy:{
            '/flower/':{
                target:'https://www.fastmock.site/mock/91fd91c6f90280e37ba47ae66081b8b6/flower',
                changeOrigin:true,
                https:true,
                pathRewrite:{
                    "/flower":'/'
                }
            },
            '/mh/':{
                target:'https://m.yymh09.com/',
                changeOrigin:true,
                https:true,
                ws:true,
                pathRewrite:{
                    "/mh":'/'
                }
            },
            '/img/': {
                target: 'http://ranjun.xyz/img',
                changeOrigin: true,
                pathRewrite: {
                    '^/img/': '/' //请求的时候使用这个api就可以
                }
            },
        }
    }
}